package com.guslegend.spzx.manager.mapper;

import com.guslegend.spzx.model.entity.product.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: guslegend
 * @description: 分类管理
 * @create: 2025-05-09 16:20
 **/
@Mapper
public interface CategoryMapper {

    List<Category> selectByParentId(Long parentId);

    int countByParentId(Long id);

    List<Category> selectAll();

    public abstract void batchInsert(List<Category> categoryList);
}
